.clearfix::before,
.clearfix::after{
    content:'';
    display: table;
    clear:both;
}
body{
    font:14px/1.5 Helvetica Neue,Helvetica,Arial,Microsoft Yahei,Hiragino Sans GB,Heiti SC,WenQuanYi Micro Hei,sans-serif;
    color: #333;
}
/* 设置容器宽度 */
.w{
  width: 1226px;
  margin: 0 auto;
  /* 设置容器最小宽度 */
  min-width: 1226px;
}